<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <style>
        /* 页面整体样式 */
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f2f2f2;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }

        /* 登录框样式 */
        .login-container {
            background-color: #fff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
        }

        /* 标题样式 */
        .login-container h2 {
            text-align: center;
            color: #333;
            margin-bottom: 30px;
        }

        /* 输入框样式 */
        .login-container input[type=text], .login-container input[type=password] {
            width: 100%;
            padding: 12px 20px;
            margin: 8px 0;
            display: inline-block;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

        /* 登录按钮样式 */
        .login-container button {
            background-color: #4CAF50;
            color: white;
            padding: 14px 20px;
            margin: 8px 0;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
        }

        .login-container button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>

<div class="login-container">
    <h2>登录</h2>
    <form>
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username" placeholder="请输入用户名" required>

        <label for="password">密码:</label>
        <input type="password" id="password" name="password" placeholder="请输入密码" required>

        <button type="button" onclick="login()">登录</button>
    </form>
</div>

<script>
    function login() {
        var username = document.getElementById("username").value;
        var password = document.getElementById("password").value;

        if (username === "实训别挂我，求求啦" && password === "123") {
            window.location.href = "http://localhost:63342/untitled4/hk0002.html?_ijt=37ugmv01ir9vr2795354d6uken&_ij_reload=RELOAD_ON_SAVE";
        } else {
            alert("用户名或密码错误");
        }
    }
</script>
</body>
</html>